file(GLOB_RECURSE  LN882H_ONE_PLUG_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/src  "*.c")

set(ln882h_one_plug_static_target    "ln882h_one_plug_demo")
add_library(${ln882h_one_plug_static_target} STATIC ${LN882H_ONE_PLUG_SRC})
add_library(app::tuya_app  ALIAS  ${ln882h_one_plug_static_target})

target_link_libraries(${ln882h_one_plug_static_target}
    PUBLIC
    tuya::common
    tuya::os_adapter
)

target_include_directories(${ln882h_one_plug_static_target}
    PRIVATE
    ${CMAKE_CURRENT_SOURCE_DIR}/include
    ${CMAKE_SOURCE_DIR}/sdk/include
)
